package com.studyroom.service;

import com.studyroom.dto.ChatMessage;
import com.studyroom.dto.Result;
import com.studyroom.entity.ChatFile;
import org.springframework.web.multipart.MultipartFile;

public interface ChatService {
    Result receiveSolo(Long id);
    Result sendSole(ChatMessage chatMessage);

    Result uploadFile(MultipartFile file,Long sender,Long recever);
    ChatFile downloadFile(Long fileId);
}
